<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>孓最求完美-${article.title}</title>
    <meta name="keywords" content="${article.title}">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge">
    <meta name="description" content="最求完美  山西  柳林  博客  519032766 宋一飞  java 程序员 工程师">
    <meta name="baidu_union_verify" content="9eb4fa489ce3376e5248a2f3fa987db7">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>

    <!--谷歌广告-->
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <script>
        (adsbygoogle = window.adsbygoogle || []).push({
            google_ad_client: "ca-pub-9801360103378152",
            enable_page_level_ads: true
        });
    </script>
    <style>
        .demo svg {
            position: absolute;
        }
        .target {
            height: 0px; max-width: 200px;
            filter: url("#goo");
            text-align: center;
            position: relative;
        }
        .share {
            display: block;
            width: 64px; line-height: 64px;
            background-color: #cd0000;
            color: #fff;
            border-radius: 50%;
            margin-top: 15px;
            margin-left: 5px;
            position: relative;
            z-index: 1;
        }
        [type="checkbox"] {
            position: absolute;
            clip: rect(0 0 0 0);
        }
        [class*="icon-share-"] {
            position: absolute;
            width: 48px; height: 48px;
            background-color: #cd0000;
            border-radius: 50%;
            transition: transform .5s;
            top: 8px; left: 0; right: 0;
            margin: auto;
            -ms-transform: scale(0.5);
            transform: scale(0.5);
        }
        [class*="icon-share-"] > img {
            display: block;
            width: 20px;
            height: 20px;
            margin: 14px auto;
        }
        :checked + .target .icon-share-weibo {
            -ms-transform: scale(1) translate(-70px, 60px);
            transform: scale(1) translate(-70px, 60px);
        }
        :checked + .target .icon-share-wechat {
            -ms-transform: scale(1) translate(0, 75px);
            transform: scale(1) translate(0, 75px);
        }
        :checked + .target .icon-share-qq {
            -ms-transform: scale(1) translate(70px, 60px);
            transform: scale(1) translate(70px, 60px);
        }
        :checked + .target .share {
            animation: jello 1s;
        }
        @keyframes jello {
            from, 11.1%, to {
                transform: none;
            }
            22.2% {
                transform: skewX(-12.5deg) skewY(-12.5deg);
            }
            33.3% {
                transform: skewX(6.25deg) skewY(6.25deg);
            }
            44.4% {
                transform: skewX(-3.125deg) skewY(-3.125deg);
            }
            55.5% {
                transform: skewX(1.5625deg) skewY(1.5625deg);
            }
            66.6% {
                transform: skewX(-0.78125deg) skewY(-0.78125deg);
            }
            77.7% {
                transform: skewX(0.390625deg) skewY(0.390625deg);
            }
            88.8% {
                transform: skewX(-0.1953125deg) skewY(-0.1953125deg);
            }
        }
        .float{
            display: flex;
            justify-content: flex-start;
        }

    </style>
</head>

<body>
<div class="page-header">
    <div class="float">
        <h1>${article.title}
            <small>阅读 ${article.looksum!''} 次</small>
        </h1>
        <div class="demo">
            <svg width="0" height="0">
                <defs>
                    <filter id="goo">
                        <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="blur" />
                        <feColorMatrix in="blur" mode="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 19 -9" result="goo" />
                        <feComposite in="SourceGraphic" in2="goo" operator="atop"/>
                    </filter>
                </defs>
            </svg>
            <input type="checkbox" id="share">
            <div class="target">
                <label class="share" for="share">分享</label>
                <span class="icon-share-weibo"><img src="/img/weibo.png"></span>
                <span class="icon-share-wechat"><img src="/img/wechat.png"></span>
                <span class="icon-share-qq"><img src="/img/qq.png"></span>
            </div>
        </div>
    </div>
    <button type="button" class="btn btn-warning" onclick="index();">返回</button>
    <button type="button" class="btn btn-success" onclick="prePage(${article.id?c},'+')">上一篇</button>
    <button type="button" class="btn btn-danger" onclick="nextPage(${article.id?c},'-')">下一篇</button>
    <button type="button" class="btn btn-default">${article.publishtime?string("yyyy-MM-dd HH:mm:ss")}</button>
</div>
<div>
    <p>
    ${article.content}
        <!--谷歌文章内嵌广告-->
        <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <ins class="adsbygoogle"
             style="display:block; text-align:center;"
             data-ad-layout="in-article"
             data-ad-format="fluid"
             data-ad-client="ca-pub-9801360103378152"
             data-ad-slot="8957027422"></ins>
        <script>
            (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </p>
</div>
<div>
    <button type="button" class="btn btn-warning" onclick="index();">返回</button>
    <button type="button" class="btn btn-success" onclick="prePage(${article.id?c},'+')">上一篇</button>
    <button type="button" class="btn btn-danger" onclick="nextPage(${article.id?c},'-')">下一篇</button>
    <button type="button" class="btn btn-default">${article.publishtime?string("yyyy-MM-dd HH:mm:ss")}</button>
</div>


<script>
    function index() {
        document.location.href="/";
    }
    function nextPage(num,active) {
        document.location.href="/article/detail/"+(num-1)+"/"+active;
    }
    function prePage(num,active) {
        document.location.href="/article/detail/"+(num+1)+"/"+active;
    }
</script>

<!--收录代码-->
<script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

<!--统计代码-->
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?de743e2cbcfa173f97adbc1fd9e2bcac";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>

	<!-- 阿里廣告 -->

</body>
</html>
